<?php

/**
 * @file classes/site/Version.inc.php
 *
 * Copyright (c) 2000-2012 John Willinsky
 * Distributed under the GNU GPL v2. For full terms see the file docs/COPYING.
 *
 * @class Version
 * @ingroup site
 * @see VersionDAO
 *
 * @brief Describes system version history.
 */


class CTTMTG extends DataObject {

    /**
     * Constructor.
     */

    function CTTMTG() {
        parent::DataObject();
        // Initialize object

    }

    function getidphieu() {
        return $this->getData('idphieu');
    }
    function setidphieu($id) {
        return $this->setData('idphieu', $id);
    }

    function getnoco() {
        return $this->getData('noco');
    }
    function setnoco($noco) {
        return $this->setData('noco', $noco);
    }

    function getsoct() {
        return $this->getData('soct');
    }
    function setsoct($soct) {
        return $this->setData('soct', $soct);
    }

    function getngct() {
        return $this->getData('ngct');
    }
    function setngct($ngct) {
        return $this->setData('ngct', $ngct);
    }

    function getdiengiai() {
        return $this->getData('diengiai');
    }
    function setdiengiai($diengiai) {
        return $this->setData('diengiai', $diengiai);
    }

    function getdiachi() {
        return trim($this->getData('diachi'));
    }
    function setdiachi($data) {
        return $this->setData('diachi', $data);
    }

    function getlydo() {
        return trim($this->getData('lydo'));
    }
    function setlydo($data) {
        return $this->setData('lydo', $data);
    }

    function getsolgctg() {
        return $this->getData('solgctg');
    }
    function setsolgctg($data) {
        return $this->setData('solgctg', $data);
    }

    function getmant() {
        return $this->getData('mant');
    }
    function setmant($data) {
        return $this->setData('mant', $data);
    }

    function gettygia() {
        return $this->getData('tygia');
    }
    function settygia($data) {
        return $this->setData('tygia', $data);
    }

    function gettk() {
        return trim($this->getData('tk'));
    }
    function settk($tk) {
        return $this->setData('tk', $tk);
    }
 	function gettkthue() {
        return trim($this->getData('tkthue'));
    }
    function settkthue($tkthue) {
        return $this->setData('tkthue', $tkthue);
    }
    function gettkdu() {
        return $this->getData('tkdu');
    }
    function settkdu($tkdu) {
        return $this->setData('tkdu', $tkdu);
    }

    function getmacttkdu() {
        return $this->getData('macttkdu');
    }
    function setmacttkdu($macttkdu) {
        return $this->setData('macttkdu', $macttkdu);
    }
	function getmacttkthue() {
        return $this->getData('macttkthue');
    }
    function setmacttkthue($macttkthue) {
        return $this->setData('macttkthue', $macttkthue);
    }

    function getsotienvn() {
        return $this->getData('sotienvn');
    }
    function setsotienvn($sotienvn) {
        return $this->setData('sotienvn', $sotienvn);
    }

    function getsotiennt() {
        return $this->getData('sotiennt');
    }
    function setsotiennt($sotiennt) {
        return $this->setData('sotiennt', $sotiennt);
    }

    function getmatk() {
        return trim($this->getData('matk'));
    }
    function setmatk($matk) {
        return $this->setData('matk', $matk);
    }

    function gettentk() {
        return trim($this->getData('tentk'));
    }
    function settentk($tentk) {
        return $this->setData('tentk', $tentk);
    }
 	function gettendv() {
        return trim($this->getData('tendv'));
    }
    function settendv($tendv) {
        return $this->setData('tendv', $tendv);
    }
    
    function getdknovn() {
        return $this->getData('dknovn');
    }

    function getdknont() {
        return $this->getData('dknovn');
    }
    function setdknovn($data) {
        return $this->setData('dknovn', $data);
    }
    function setdknont($data) {
        return $this->setData('dknont', $data);
    }
    function getsoduC($data) {
        return -$this->getData('sotienvn')+$data;
    }
    function getsoduN($data) {
        return $this->getData('sotienvn')+$data;
    }
    function getsoduCnt($data) {
        return -$this->getData('sotiennt')+$data;
    }
    function getsoduNnt($data) {
        return $this->getData('sotiennt')+$data;
    }
    function getsps($data) {
        return $this->getData('sotienvn')+$data;
    }
    function getspsnt($data) {
        return $this->getData('sotiennt')+$data;
    }
    //-------nhat-----
    function getmact() {
        return $this->getData('mact');
    }
    function setmact($mact) {
        return $this->setData('mact', $mact);
    }

    function getngaylapct() {
        return $this->getData('ngaylapct');
    }
    function setngaylapct($ngaylapct) {
        return $this->setData('ngaylapct', $ngaylapct);
    }

    function getdaidien() {
        return $this->getData('daidien');
    }
    function setdaidien($daidien) {
        return $this->setData('daidien', $daidien);
    }

    function getnoidungthue() {
        return $this->getData('noidungthue');
    }
    function setnoidungthue($noidungthue) {
        return $this->setData('noidungthue', $noidungthue);
    }

    function getmacttk() {
        return $this->getData('macttk');
    }
    function setmacttk($macttk) {
        return $this->setData('macttk', $macttk);
    }

    function getma_dk() {
        return $this->getData('ma_dk');
    }
    function setma_dk($ma_dk) {
        return $this->setData('ma_dk', $ma_dk);
    }

    function getma_dvcs() {
        return $this->getData('ma_dvcs');
    }
    function setma_dvcs($ma_dvcs) {
        return $this->setData('ma_dvcs', $ma_dvcs);
    }

    function getsoctcn() {
        return $this->getData('soctcn');
    }
    function setsoctcn($soctcn) {
        return $this->setData('soctcn', $soctcn);
    }

    function getngayctcn() {
        return $this->getData('ngayctcn');
    }
    function setngayctcn($ngayctcn) {
        return $this->setData('ngayctcn', $ngayctcn);
    }

    function getmacp() {
        return $this->getData('macp');
    }
    function setmacp($macp) {
        return $this->setData('macp', $macp);
    }

    function getloaihinh() {
        return $this->getData('loaihinh');
    }
    function setloaihinh($loaihinh) {
        return $this->setData('loaihinh', $loaihinh);
    }

    function getkihieumd() {
        return $this->getData('kihieumd');
    }
    function setkihieumd($kihieumd) {
        return $this->setData('kihieumd', $kihieumd);
    }

    function getsohd() {
        return $this->getData('sohd');
    }
    function setsohd($sohd) {
        return $this->setData('sohd', $sohd);
    }

    function getsoseri() {
        return $this->getData('soseri');
    }
    function setsoseri($soseri) {
        return $this->setData('soseri', $soseri);
    }

    function getngayhd() {
        return $this->getData('ngayhd');
    }
    function setngayhd($ngayhd) {
        return $this->setData('ngayhd', $ngayhd);
    }

    function getmakh() {
        return $this->getData('makh');
    }
    function setmakh($makh) {
        return $this->setData('makh', $makh);
    }
    function getmakhthue() {
        return $this->getData('makhthue');
    }
    function setmakhthue($makhthue) {
        return $this->setData('makhthue', $makhthue);
    }

    function gettenkh() {
        return $this->getData('tenkh');
    }
    function settenkh($tenkh) {
        return $this->setData('tenkh', $tenkh);
    }

    function getmasot() {
        return $this->getData('masot');
    }
    function setmasot($masot) {
        return $this->setData('masot', $masot);
    }

    function gettenhh() {
        return $this->getData('tenhh');
    }
    function settenhh($tenhh) {
        return $this->setData('tenhh', $tenhh);
    }

    function getmathue() {
        return $this->getData('mathue');
    }
    function setmathue($mathue) {
        return $this->setData('mathue', $mathue);
    }

    function getthuesuat() {
        return $this->getData('thuesuat');
    }
    function setthuesuat($thuesuat) {
        return $this->setData('thuesuat', $thuesuat);
    }

    function getsotien_doanhso() {
        return $this->getData('sotien_doanhso');
    }
    function setsotien_doanhso($sotien_doanhso) {
        return $this->setData('sotien_doanhso', $sotien_doanhso);
    }

    function getthue() {
        return $this->getData('thue');
    }
    function setthue($thue) {
        return $this->setData('thue', $thue);
    }

    function gettongtien() {
        return $this->getData('tongtien');
    }
    function settongtien($tongtien) {
        return $this->setData('tongtien', $tongtien);
    }

    function getmavuviec() {
        return $this->getData('mavuviec');
    }
    function setmavuviec($mavuviec) {
        return $this->setData('mavuviec', $mavuviec);
    }


}

?>
